﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Backtrack.Domain.Entities
{
    /// <summary>
    /// 企业信息表
    /// </summary>
    public class Firm
    {
        /// <summary>
        /// 企业主键
        /// </summary>
        [Key]
        public int FirmId { get; set; }
        /// <summary>
        /// 产品的主键
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 养殖场
        /// </summary>
        public string? Farm { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? Person { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public int? FieldNum { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string? CompanyName { get; set; }
        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? CompanyTime { get; set; }
        /// <summary>
        /// 公司地址
        /// </summary>
        public string? CompanyAddress { get; set; }
        /// <summary>
        /// 公司简介
        /// </summary>
        public string? CompanyProfile { get; set; }

        /// <summary>
        /// 深加工公司名称
        /// </summary>
        public string? ProcessingCompanyName { get; set; }

        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? ProductionNum { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDel { get; set; }
        public int PictureId { get; set; }
    }
}
